@import '~@/styles/maxin.less';
@import '~@/styles/var.less';
.message{
    .center(fixed);
    z-index: 999;
    box-shadow: -2px 2px 5px #000 ;
    padding: 10px 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transform: translate(-50%,-50%) translateY(15px);
    opacity: 0;
    transition: 0.4s;
    white-space: nowrap;
    &-info{
        background-color: @primary;
    }
    &-error{
        background-color: @warn;
    }
    &-success{
        background-color: @success;
    }
    &-warn{
        background-color: @warn;
    }
}
.icon{
    font-size: 20px;
}
